package com.atguigu.gmall.activity.service;

import com.atguigu.gmall.model.activity.SeckillGoods;

import java.util.List;

public interface SeckillGoodsService {
    //查询所有秒杀商品数据
    List<SeckillGoods> findAll();

    //根据skuId获取秒杀商品详情
    SeckillGoods getSeckillGoods(Long skuId);

    //根据skuId和userId，秒杀下单
    void seckillOrder(Long skuId, String userId);
}
